nil)
(defun kill-ring-save (beg end)
- "Save the region as if killed, but don't kill it."
+ "Save the region as if killed, but don't kill it.
+This command is similar to copy-region-as-kill, except that it gives
+visual feedback indicating the extent of the region being copied.
+If `interprogram-cut-function' is non-nil, also save the text for a window
+system cut and paste."
(interactive "r")
(copy-region-as-kill beg end)
(if (interactive-p)
(delete-region (point) (mark))
(set-mark (point))
(insert (current-kill arg))
- (if before (exchange-point-and-mark))))
+ (if before (exchange-point-and-mark)))
+ nil)
(defun yank (&optional arg)
"Reinsert the last stretch of killed text.
((eq arg '-) -1)
(t (1- arg)))))
(if (consp arg)
- (exchange-point-and-mark)))
+ (exchange-point-and-mark))
+ nil)
(defun rotate-yank-pointer (arg)
"Rotate the yanking point in the kill ring.